package com.weilai.domain;

import java.util.Date;

public class Shares {
    private int id;
    private int userId;
    private int postId;
    private int videoId;
    private Date createdAt;

    public Shares() {
    }

    public Shares(int id, int userId, int postId,int videoId, Date createdAt) {
        this.id = id;
        this.userId = userId;
        this.postId = postId;
        this.videoId = videoId;
        this.createdAt = createdAt;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getPostId() {
        return postId;
    }

    public void setPostId(int postId) {
        this.postId = postId;
    }
    public int getVideoId() {
        return videoId;
    }
    public void setVideoId(int videoId) {
        this.videoId = videoId;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }
}